import Layout from "@/layout/index";

export default {
    // 营销管理
    path: '/market',
    meta: {  },
    name: 'Market',
    component: Layout,
    children: [
        {
            //营销配置
            path: 'marketingConfig',
            name: 'MarketingConfig',
            meta: {
            },
            component: () => import('@/views/market/marketingConfig/index'),
        },
        {
            //生成验证码
            path: 'marketCreateCode',
            name: 'MarketCreateCode',
            meta: {
            },
            component: () => import('@/views/market/createCode/index'),
        },
        {
            //综合用户营销
            path: 'userMarketing',
            name: 'UserMarketing',
            meta: {
            },
            component:Layout,
            children: [
                {
                    path: 'allList',
                    name: 'MarketAllList',
                    meta: {
                    },
                    component: () => import('@/views/market/userMarketing/allList/index'),
                },
                {
                    path: 'agencyList',
                    name: 'MarketAgencyList',
                    meta: {
                    },
                    component: () => import('@/views/market/userMarketing/agencyList/index'),
                },
                {
                    path: 'historyList',
                    name: 'MarketHistoryList',
                    meta: {
                    },
                    component: () => import('@/views/market/userMarketing/historyList/index'),
                }
            ]
        },
    ]
}
